Creating a suitable growing environment is necessary to ensure good plant growth in a plant factory, which requires wireless sensor networks (WSNs) to monitor the environment in real time. However, existing WSN clustered routing methods hardly take into account the network unreliability caused by varying link quality among nodes, resulting in reduced stability and accuracy of environmental monitoring. This study proposes a wireless sensor network system strategy for improving network reliability in large-scale reliable wireless sensor networks suitable for plant factory scenarios. Firstly, a hybrid wireless sensor network was designed and built based on Wi-Fi and ZigBee communication protocols. Secondly, a nonlinear link quality prediction model for plant factory scenarios was developed using a function fitting method, taking into account the interference and attenuation caused by the dense concentration of agricultural facilities and plants in plant factories on the wireless signal propagation. Finally, a network coverage optimization scheme was designed by combining a particle swarm optimization (PSO) algorithm and link quality prediction model, and a reliable cluster routing protocol was designed by combining K-means algorithm. The results indicated that the coefficient of determination (R2) for the prediction model was 0.9962. The impact of agricultural facilities and vegetation on link quality was most significant when the node height was 0.7 m. Under the optimal node deployment, the number of nodes was 33, and the network coverage rate (CR) reached 97.512%. Compared with the traditional clustered routing method, the wireless sensor network designed in this study is more applicable to the field of plant factories; it further enhances data transmission effectiveness and link quality, improves the reliability of the network, and realizes the load balancing of the internal transmission of the network, which in turn ensures the accuracy of environmental monitoring and the stability of the system.
Loading....